﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;

namespace Tzx.Tools.Payroll2Images.Exe
{
    /// <summary>
    /// 
    /// </summary>
    public partial class UcFastReportExport : UserControl
    {
        #region public

        public UcFastReportExport()
        {
            InitializeComponent();
        }

        public void SetData(DataTable data)
        {
            if (data == null)
            {
                throw new ApplicationException("不要赋空数据表");
            }
            this.Data = data;
        }
        #endregion

        /// <summary>
        /// 
        /// </summary>
        protected DataTable Data
        {
            get;set;
        }

    }
}